
package org.zsl.aop.dao;


import org.zsl.aop.util.Tool;

public class UserDAO2 {

    private Tool tool;

    public UserDAO2(){
        tool = new Tool();
    }
    public void insert(){
        tool.check();
        System.out.println("正在添加数据！");
        tool.log();
    }

    public void update(){
        tool.check();
        System.out.println("正在修改数据！");
        tool.log();
    }
}
